package com.my.serviceimpl;

import com.my.bean.EmpRecord;
import com.my.mapper.EmpRecordMapper;
import com.my.service.EmpRecordService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 冯政尚
 * @since 2018-08-26
 */
@Service
public class EmpRecordServiceImpl extends ServiceImpl<EmpRecordMapper, EmpRecord> implements EmpRecordService {

    //查询所有
    public List<EmpRecord> selectEmp(){
        return baseMapper.selectEmp();
    }
}
